using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Sql;
using sgsBase;
 
namespace gaClear
{
[Serializable] public class DbNymxProdStrike :  DbObject
{
  public DbNymxProdStrike() : base()
  {
      Table = "dbo.nymx_prod_strikes";
      Database = "gagm_energy";
      Columns.AddColumn("prod_id", SqlDbType.VarChar, true, false);
      Columns.AddColumn("first_mmy", SqlDbType.VarChar, true, false);
      Columns.AddColumn("last_mmy", SqlDbType.VarChar, true, false);
      Columns.AddColumn("strike_price", SqlDbType.VarChar, true, false);
  }
  
  #region Properties
  
      public String ProdId
      {
          get { return Columns.StringAt(0);}
          set { Columns.SetValAt(0, value);}
      }

      public String FirstMmy
      {
          get { return Columns.StringAt(1);}
          set { Columns.SetValAt(1, value);}
      }

      public String LastMmy
      {
          get { return Columns.StringAt(2);}
          set { Columns.SetValAt(2, value);}
      }

      public String StrikePrice
      {
          get { return Columns.StringAt(3);}
          set { Columns.SetValAt(3, value);}
      }

  
  #endregion
}
}
